<%@page import="java.util.ArrayList"%>
<%@page import="com.jlrdb.model.AnalogRadioBroadcast"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="/css/styledform.css">
<script type="text/javascript" src="/script/radio.js"></script>
<title>Update Analog Data</title>

</head>
<body>
	<h2>Update Radio Data</h2>
	<%
		AnalogRadioBroadcast radioBroadcast = (AnalogRadioBroadcast) request.getAttribute("analogRadioBroadcast");
	%>
	<form name="BroadcastForm"  onsubmit="return updateAnalogValidation()" action="/RadioBroadcastServlet" target="_self">
		<input type="hidden" name="action" value="updateRadioBroadcastAnalog">
		<input type="hidden" name="country" value="<%=radioBroadcast.getCountry()%>">
		<input type="hidden" name="geographic_region" value="<%=radioBroadcast.getGeographic_Region()%>">
		<input type="hidden" name="broadcastId"	value="<%=radioBroadcast.getBroadcast_Id()%>">
		<div id="error">
			<font>* marked fields are mandatory.</font>&nbsp;&nbsp;&nbsp;&nbsp;<font id="id1"></font>
		</div>
		<table style="align:left; margin-left: 0px;">

			<tr>
				<th>Geographic Region</th>
				<td><%=radioBroadcast.getGeographic_Region()%></td>
			</tr>
			<tr>
				<th>Country:</th>
				<td><%=radioBroadcast.getCountry()%></td>
			</tr>
			<tr>
				<th>AM:</th>
				<td><textarea rows="4" cols="21" name="am"><%=radioBroadcast.getAm()%></textarea></td>
			</tr>
			<tr>
				<th>FM:</th>
				<td><textarea rows="4" cols="21" name="fm"><%=radioBroadcast.getFm()%></textarea></td>
			</tr>
			<tr>
				<th>Major Players:</th>
				<td><textarea rows="4" cols="21" name="major_players"><%=radioBroadcast.getMajor_Players() %></textarea></td>
			</tr>
			<tr>
				<th>Deviations/Remarks/Notes/Trends:</th>
				<td><textarea rows="4" cols="21" name="notes_remarks"><%=radioBroadcast.getNotes_Remarks()%></textarea></td>
			</tr>
	</table>
	<input type="submit" name="Update" value="update">&nbsp;&nbsp;&nbsp;<input type="button" name="Cancel" value="Cancel" onclick="self.close()">
		</form>
</body>
</html>